<template>
  <div>
    <el-form
      :model="basicForm"
      :rules="basicRules"
      ref="basicForm"
      size="small"
      label-width="160px"
    >
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="门头名称:" prop="rpiName">
            <el-input
              type="text"
              v-model="basicForm.rpiName"
              placeholder="请输入门头名称"
            ></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="联系人姓名:" prop="contactsName">
            <el-input
              type="text"
              v-model="basicForm.contactsName"
              placeholder="请输入联系人姓名"
            ></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="联系方式:" prop="contactsPhone">
            <el-input
              type="tel"
              v-model="basicForm.contactsPhone"
              placeholder="请输入联系方式"
            ></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="联系人邮箱:" prop="contactsEmail">
            <el-input
              type="email"
              v-model="basicForm.contactsEmail"
              placeholder="请输入联系人邮箱"
            ></el-input>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="联系人地址:" prop="contactsAddr">
            <el-input
              type="textarea"
              v-model="basicForm.contactsAddr"
              placeholder="请输入联系人地址"
            ></el-input>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {
  props: {
    basicForm: Object,
    isImgShow: {
      //是否显示 客服会话框 默认显示
      type: Boolean,
      default: true,
    },
  },
  data() {
    return {
      basicTitleData: {
        basicTitle: "行业信息",
        personTitle: "法人信息",
        businessTitle: "企业信息",
        linkmanTitle: "联系人信息",
        otherTitle: "其他信息",
        shareholderTitle: "控股人信息",
        beneficiaryTitle: "受益人信息",
      },
      basicRules: {
        rpiName: [
          { required: true, message: "请输入门头名称", trigger: "blur" },
        ],
        contactsName: [
          { required: true, message: "请输入联系人姓名", trigger: "blur" },
        ],
        contactsPhone: [
          { required: true, message: "请输入联系方式", trigger: "blur" },
        ],
        contactsEmail: [
          { required: true, message: "请输入联系人邮箱", trigger: "blur" },
        ],
        contactsAddr: [
          { required: true, message: "请输入联系人地址", trigger: "blur" },
        ],
      },
      crpGenderOptions: [],
    };
  },
  created() {
  },
  methods: {
  },
};
</script>

<style lang="scss" scoped>
.basic-box {
  padding: 20px 40px 20px 0;
}

/deep/ .el-date-editor.el-input,
.el-date-editor.el-input__inner {
  width: 100%;
}
</style>